package com.kgc.sbt.mapper;

import com.kgc.sbt.beans.CouponsType;
import com.kgc.sbt.beans.CouponsTypeExample;
import java.util.List;

import com.kgc.sbt.beans.UserCoupons;
import org.apache.ibatis.annotations.Param;

public interface CouponsTypeMapper {
    long countByExample(CouponsTypeExample example);

    int deleteByExample(CouponsTypeExample example);

    int deleteByPrimaryKey(Integer couponsId);

    int insert(CouponsType record);

    int insertSelective(CouponsType record);

    List<CouponsType> selectByExample(CouponsTypeExample example);

    CouponsType selectByPrimaryKey(Integer couponsId);

    int updateByExampleSelective(@Param("record") CouponsType record, @Param("example") CouponsTypeExample example);

    int updateByExample(@Param("record") CouponsType record, @Param("example") CouponsTypeExample example);

    int updateByPrimaryKeySelective(CouponsType record);

    int updateByPrimaryKey(CouponsType record);

    List <CouponsType> queryAllCouponsType();




}